#coding:utf-8
'''
Created on 2015-11-20

@author: root
'''
import sys
sys = sys
if sys.getdefaultencoding() != 'utf-8':
    reload(sys)
    sys.setdefaultencoding('utf-8')
# from __future__ import absolute_import
from celery import Celery,platforms
# import qqad.settings

platforms.C_FORCE_ROOT = True
app = Celery('celery_pro', include=['celery_pro.tasks'])

app.config_from_object('celery_pro.config')


if __name__ == '__main__':
    app.start()